#ifndef HTTPREQUEST_H
#define HTTPREQUEST_H

#include "httpmessage.h"
#include <map>
using std::map;

class HTTPRequest : public HTTPMessage{
	public:
		typedef map<string, string> REQUEST_DATA_T;
	private:
		string url_;
		REQUEST_DATA_T data_;
		HEADER_T header_;
	public:
		HTTPRequest(const string& url, const REQUEST_DATA_T& data, const HEADER_T& header);
		string get_url() const;
		void get_request_data(REQUEST_DATA_T& data) const;
		void get_header(HEADER_T& header);
};

#endif

